package com.hfb.mashibing.alip8.jvm.spi;

import java.util.ServiceLoader;

public class Main{

    public static void main(String[] args) {
        ServiceLoader<HelloSPI> sl = ServiceLoader.load(HelloSPI.class);
        sl.forEach(e->{
            e.sayHello();
        });
    }
}
